package com.peas.platform.module.icims.expenditure.disbursement.controller.vo;

import java.math.*;
import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("网银支付明细")
public class ExpenditureInternetbankItemVo extends BaseVo {

    // （网银支付表）外键
    @Comment(value = "网银支付ID")
    @ApiModelProperty(value = "网银支付ID")
    private Long expenditureInternetbankId;

    // （报账单表）外键
    @Comment(value = "报账单ID")
    @ApiModelProperty(value = "报账单ID")
    @NotNull(message = "报账单ID不能为空")
    private Long expenditureReimbursementId;

    @Comment(value = "收款人全称")
    @ApiModelProperty(value = "收款人全称")
    @Size(max = 200, message = "收款人全称不能超过200个字符")
    private String payeeName;

    @Comment(value = "收款人账号")
    @ApiModelProperty(value = "收款人账号")
    @Size(max = 200, message = "收款人账号不能超过200个字符")
    private String payeeAccount;

    @Comment(value = "收款人开户行")
    @ApiModelProperty(value = "收款人开户行")
    @Size(max = 500, message = "收款人开户行不能超过500个字符")
    private String payeeBank;

    @Comment(value = "资金用途")
    @ApiModelProperty(value = "资金用途")
    @Size(max = 200, message = "资金用途不能超过200个字符")
    private String use;

    @Comment(value = "金额")
    @ApiModelProperty(value = "金额")
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;

}
